Ext.define('StaffServer.comboBox.SexCombo', {
	extend : 'Ext.form.ComboBox',

	forceSelection : true,
	queryMode : "local",
	displayField : "sex",
	valueField : "sex",

	initComponent : function() {
		this.store = Ext.create("Ext.data.Store", {
			fields : [ "sex", "sex" ],
			data : [ {
				"sex" : "男",
				"sex" : "男"
			}, {
				"sex" : "女",
				"sex" : "女"
			}]
		});
		this.callParent(arguments);
	}

});